/*
 * 版权所有(c)  1952110078@qq.com  2022 - 2022
 */

package com.ldc.commonlibs;

import android.app.Application;
import android.content.res.Configuration;
import android.util.Log;

/**
 * @author liudc
 * @since 2022/7/17 12:54
 */
public abstract class AppInitBase {
    protected final String TAG = this.getClass().getSimpleName();


    private Application application;

    public void setApplication(Application application) {
        this.application = application;
    }

    public Application getApplication() {
        return application;
    }

    protected void onCreate() {
        Log.e(TAG, "onCreate: -=-=-=");
    }

    protected void onTerminate() {
        Log.e(TAG, "onTerminate: -=-=-=");
    }

    protected void onLowMemory() {
        Log.e(TAG, "onLowMemory: -=-=-=");
    }

    protected void configurationChanged(Configuration configuration) {
        Log.e(TAG, "configurationChanged: -=-=-=");
    }
}
